package cn.gary.oaserver.service;

import cn.gary.oaserver.entity.TMenu;
import cn.gary.oaserver.entity.TMenuRole;
import cn.gary.oaserver.params.MenuParams;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gary
 * @since 2024-03-15
 */
public interface ITMenuRoleService extends IService<TMenuRole> {

    boolean delMenuChildrenByRoleId(Integer roleId, Integer menuId);

    Integer[] getRoleMenuById(Integer roleId);

    List<TMenu> getRoleMenu();

    boolean insetMenuRole(MenuParams menuParams);
}
